import { useLayout } from "./../../context";
import GridLines from "./GridLines";
import "./index.css";
export default function Stage({ children }: ReactChildren) {
  const { stageSize } = useLayout();

  return (
    <div className="stage" style={{ width: stageSize, height: stageSize }}>
      {children}
      <GridLines />
    </div>
  );
}
